{* Template Name:首页及列表页 *}
<!DOCTYPE html>
<html lang="{$lang['lang_bcp47']}">
<head>
  {template:header}
</head>
<body class="multi {$type}">
  <div class="container">
    <div class="header">
      <div class="blogName">
        <a href="{$host}">
          {$name}
        </a>
      </div>
      <div id="nav">
        <ul style="display:none">
        {module:navbar}
        </ul>
      </div>
    </div>
    <div class="zbp_long_content">
      <div class="zbp_long_left">
        {foreach $articles as $article}
          {if $article.TopType}
          {template:post-istop}
          {else}
          {template:post-multi}
          {/if}
          {/foreach}
          <div class="pagebar">{template:pagebar}</div>
      </div>
      <div class="zbp_long_right">
        {if $type=='index'}
        {template:sidebar}
        {elseif $type=='category'}
        {template:sidebar2}
        {else}
        {template:sidebar6}
        {/if}
      </div>
    </div>
    <div class="zbp_long_footer">
      {template:footer}
    </div>
  </div>
</body>

</html>